<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <style type="text/css">
            a.one:link
            {
                float:right;
                width:150px;
                text-decoration:none;
                color:white;
            }

            a.one:hover {background-color:#ff3300;}

            .td
            {
                background-color:purple;
                width: 150px;
            }
        </style>
    </head>
    <body>
        <table border="0px">
            <tr>
                <td style="width: 300px; height: 150px;">
                    <img src="images/decoration/logo.png" style="width: 300px; height: 150px" alt="logo"/>
                </td>
                <td>
                    <h1 style="letter-spacing: 7px; text-indent: 50px; font-size: 40px">
                        SRS Education Institution
                    </h1>
                </td>
            </tr>

        </table>
        <table>
            <tr>

            <%
                if (request.getSession().getAttribute("adminLoged") == null)
                {
            %>
                    <td class="td"><a class="one" href="#">Manage Member</a></td>
                    <td class="td"><a class="one" href="#">Manage Mail Box</a></td>
                    <td class="td"><a class="one" href="#">Manage Activities</a></td>
                    <td class="td"><a class="one" href="#">Manage Feedback</a></td>
                    <td class="td"><a class="one" href="#">Logout</a></td>
            <%
                }
                else
                {
                    response.sendRedirect("admin/homeAdmin.jsp");
                }
            %>
        </tr>
    </table>
</body>
</html>
